package cn.hml.org.service;

import cn.hml.basic.util.PageList;
import cn.hml.org.domain.Employee;
import cn.hml.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {
    List<Employee> loadAll(); //查询所有对象

    Employee loadById(Long id);//查询单个对象

    void sava (Employee employee);

    void update(Employee employee);

    void del(Long id);

    PageList<Employee> queryPage(EmployeeQuery employeeQuery);

}
